/*****************************************************************************
 * Copyright (C) Stacy Curl. All rights reserved.                            *
 * ------------------------------------------------------------------------- *
 * The software in this package is published under the terms of the BSD      *
 * style license a copy of which has been included with this distribution in *
 * the LICENSE.txt file.                                                     *
 *****************************************************************************/
package picounit.features.mocking;

import picounit.mocker.OccurencesMatcher;

class ConsequenceMatchers {
	private final CombinedArrayConsequenceMatcher combinedArrayConsequenceMatcher;
	private final CombinedConsequenceMatcher combinedConsequenceMatcher;
	private final CombinedListConsequenceMatcher combinedListConsequenceMatcher;
	private final CombinedSetConsequenceMatcher combinedSetConsequenceMatcher;

	public ConsequenceMatchers(ActiveRecordingPlaybackMock activeRecordingPlaybackMock,
		OccurencesMatcher occurencesMatcher, MockInvocationObserver mockInvocationObserver) {
		
		this.combinedConsequenceMatcher = new CombinedConsequenceMatcher(
			activeRecordingPlaybackMock, occurencesMatcher, mockInvocationObserver);
		
		this.combinedArrayConsequenceMatcher = new CombinedArrayConsequenceMatcher(
			activeRecordingPlaybackMock, occurencesMatcher, mockInvocationObserver);
		
		this.combinedListConsequenceMatcher = new CombinedListConsequenceMatcher(
			activeRecordingPlaybackMock, occurencesMatcher, mockInvocationObserver);

		this.combinedSetConsequenceMatcher = new CombinedSetConsequenceMatcher(
			activeRecordingPlaybackMock, occurencesMatcher, mockInvocationObserver);
	}

	public CombinedConsequenceMatcher combinedConsequenceMatcher() {
		return combinedConsequenceMatcher;
	}

	public CombinedArrayConsequenceMatcher combinedArrayConsequenceMatcher() {
		return combinedArrayConsequenceMatcher;
	}
	
	public CombinedListConsequenceMatcher combinedListConsequenceMatcher() {
		return combinedListConsequenceMatcher;
	}
	
	public CombinedSetConsequenceMatcher combinedSetConsequenceMatcher() {
		return combinedSetConsequenceMatcher;
	}
}